package com.htzz.collection.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 *设备ID+采集点+小时数做条件的查询工具类
 * @author xudezhi
 * @title: QueryParam4Dto
 * @projectName collection
 * @description: TODO
 * @date 2021/8/3011:11
 */
@ApiModel(value = "设备ID+采集点+小时数做条件的查询工具类",description = "根据设备ID+采集点+小时数查询的工具类")
@Data
public class QueryParam5Dto {


    @NotEmpty
    @ApiModelProperty(value = "设备ID",example = "sn19990111",required = true)
    private String devId;

    @NotEmpty
    @ApiModelProperty(value = "采集点ID",example = "speed",required = true)
    private String k;

    @Min(1)
    @Max(24)
    @ApiModelProperty(value = "小时数",example = "5",required = true)
    private Integer hours=1;
}
